package com.xjc.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author: 谢君臣
 * @Date: 2022/12/25-15:39
 * @version: 1.0
 * @function:
 */
@Controller
public class HelloController {
    @RequestMapping("/hello")
    public String index(){
        //返回视图名称
        return "index";
    }
}